﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="SZSLSystem.Web.Admin.Authority.Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑系统权限</title>
    <link rel="stylesheet" type="text/css" href="../Images/style.css" />
    <script type="text/javascript" src="../../Js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../Js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../../Js/messages_cn.js"></script>
    <script type="text/javascript" src="../../Js/jquery.form.js"></script>
    <script type="text/javascript" src="../Js/function.js"></script>
    <script type="text/javascript" src="../Js/multipleupload_edit.js"></script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
    </script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="back"><a href="List.aspx">返回操作权限列表</a></span><b>您当前的位置：首页 &gt; 系统权限管理 &gt;
            编辑操作权限</b>
    </div>
    <div class="spClear">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="3" align="left">
                编辑操作权限
            </th>
        </tr>
        <tr>
            <td width="100" align="right">
                操作权限名称：
            </td>
            <td>
                <asp:TextBox ID="txtName" runat="server" CssClass="input required " size="10" MaxLength="50"
                    HintTitle="操作权限名称" HintInfo="请输入操作权限名称。" Height="20px" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="100" align="right">
                所属操作权限：
            </td>
            <td>
                <asp:Label ID="lblParent" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td width="100" align="right">
                操作权限缩写：
            </td>
            <td>
                <asp:TextBox ID="txtAbbreviation" runat="server" CssClass="input required " size="10"
                    MaxLength="50" HintTitle="操作权限缩写" HintInfo="请输入操作权限缩写。" Height="20px" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="100" align="right">
                操作权限描述：
            </td>
            <td>
                <asp:TextBox ID="txtDescription" runat="server" CssClass="input " size="10" MaxLength="500"
                    HintTitle="操作权限描述" HintInfo="请输入操作权限描述。" Height="120px" TextMode="MultiLine" Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="100" align="right">
                操作动作状态：
            </td>
            <td>
                <asp:RadioButtonList ID="rblLabel" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="1">标签</asp:ListItem>
                    <asp:ListItem Value="0">权限</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td width="100" align="right">
                操作权限状态：
            </td>
            <td>
                <asp:RadioButtonList ID="rblIsLock" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="0">正常</asp:ListItem>
                    <asp:ListItem Value="1">锁定</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                优先级别：
            </td>
            <td>
                <asp:TextBox ID="txtSort" runat="server" CssClass="input required number" size="10"
                    MaxLength="10" HintTitle="商品的排序数字" HintInfo="纯数字，越大越向前。" Height="20px" Width="100px"></asp:TextBox>
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp;
        <input name="重置" type="reset" class="submit" value="重置" />
    </div>
    </form>
</body>
</html>
